package fachadaPlantilla.actions;

import java.util.List;

import plantilla.IPlantillaDAO;
import plantilla.PlantillaDAOFactory;

public class EliminarPlantillaAction {

	private List<String> rutas;

	public EliminarPlantillaAction(List<String> rutas) {
		this.rutas = rutas;
	}

	public Object Execute() {
		try {
			IPlantillaDAO plantillaDAO = PlantillaDAOFactory.GetDAO();
			plantillaDAO.eliminarPlantilla(rutas);
			return null;

		} catch (Exception e) {
			return null;
		}

	}

}
